const request = require('../../../../../utils/request');
Page({
  data: {
    qrCodeList: [],
    id:''
  },

  onLoad: function (options) {
    let id = options.id;
    console.log(id);
    request.get(`/wt/tongxinjilu/list?id=${id}`).then(res=>{
      this.setData({
        qrCodeList: res.rows[0], // 将接口返回数据赋值
        // id:res.id
      })
      console.log(this.data.qrCodeList);
      ;
  })
  }
});